from packages.common.enums import CodedEnum, DictEnum


@DictEnum(key="biz_leave_reason_type", name="请假原因类型")
class LeaveReasonTypeEnum(CodedEnum):
    """
    请假原因类型
    """

    MARRIAGE = (1, "婚假")
    SICK = (2, "病假")
    ABSENCE = (3, "事假")
    ANNUAL = (4, "年假")
    OTHER = (9, "其他")
